package com.dartfar.workflow.model;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Inheritance;
import javax.persistence.InheritanceType;
import javax.persistence.Table;

import org.hibernate.annotations.GenericGenerator;

/**
 * 流程实例表
 * @author 王琦
 *
 */
@Entity
@Table(name = "T_WorkflowExecution")
public class WorkflowExecution {
	
	//主键
	private int id;
	//流程实例ID
	private String executionId;
	//部署ID
	private String deployId;
	//流程实例名称
	private String executionName;
	//流程状态
	private String audFlag;
	//业务实体路径
	private String modelName;
	//业务实体主键名称
	private String modelIdName;
	
	@Id
	@GeneratedValue(strategy=GenerationType.IDENTITY)
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getExecutionId() {
		return executionId;
	}
	public void setExecutionId(String executionId) {
		this.executionId = executionId;
	}
	public String getDeployId() {
		return deployId;
	}
	public void setDeployId(String deployId) {
		this.deployId = deployId;
	}
	public String getExecutionName() {
		return executionName;
	}
	public void setExecutionName(String executionName) {
		this.executionName = executionName;
	}
	public String getAudFlag() {
		return audFlag;
	}
	public void setAudFlag(String audFlag) {
		this.audFlag = audFlag;
	}
	public String getModelName() {
		return modelName;
	}
	public void setModelName(String modelName) {
		this.modelName = modelName;
	}
	public String getModelIdName() {
		return modelIdName;
	}
	public void setModelIdName(String modelIdName) {
		this.modelIdName = modelIdName;
	}
	

	
}
